//
//  BaseCollection.h
//  SelfDriving
//
//  Created by apple on 16/2/26.
//  Copyright © 2016年 apple. All rights reserved.
//

#import <UIKit/UIKit.h>
@class BaseCollectionDelegate;
@protocol BaseCollectionDelegate <NSObject>
-(void)initData:(int)index;
@end

@interface BaseCollection : UICollectionView
@property id<BaseCollectionDelegate>bdelegate;
@property (strong,nonatomic)UILabel *noDataLabel;
@property(assign,nonatomic)BOOL refresh;

-(UIView *)notData;
-(NSMutableArray *)result:(NSMutableArray *)rsdata olddata:(NSMutableArray *)olddata  index:(int)index;
-(void)Refresh;
- (void)footerRereshing;
@end
